home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 May: Tool Chest / Dev.CD May 97 TC.toast / Sample Code / Development Tools & Languages / AppsToGo / •AppsToGo Reference / •AppsToGo Reference.rsrc / WFMT_495_a24D < prev    next >
Unknown  |  1994-09-22  |  1.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file TTComp archive data, binary, 2K dictionary default (weak)
99% file data default
100% TrID TTComp archive compressed (bin-2K) default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 25 00 00 00 00 00 00 | 00 25 61 32 34 44 00 00 |.%......|.%a24D..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 0b 49 6e 69 74 43 | 6f 6e 74 65 6e 74 00 00 |...InitC|ontent..|
|00000060| 06 00 00 00 00 00 92 00 | 00 00 00 00 00 00 92 00 |........|........|
|00000070| 00 00 14 03 c1 00 28 05 | 7e 00 ff 00 00 00 00 00 |......(.|~.......|
|00000080| 00 0f a8 00 00 00 00 4e | 1c 00 00 00 09 00 00 00 |.......N|........|
|00000090| 04 00 04 ff fc ff fa 00 | 04 00 04 ff fc ff fc 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 83 | 00 0b 40 10 6b 53 63 72 |........|..@.kScr|
|000000b0| 65 65 6e 41 50 49 2f 31 | 39 39 39 36 00 06 47 65 |eenAPI/1|9996..Ge|
|000000c0| 6e 65 76 61 00 00 38 4f | 53 45 72 72 20 49 6e 69 |neva..8O|SErr Ini|
|000000d0| 74 43 6f 6e 74 65 6e 74 | 28 46 69 6c 65 52 65 63 |tContent|(FileRec|
|000000e0| 48 6e 64 6c 20 66 72 48 | 6e 64 6c 2c 20 57 69 6e |Hndl frH|ndl, Win|
|000000f0| 64 6f 77 50 74 72 20 77 | 69 6e 64 6f 77 29 3b 00 |dowPtr w|indow);.|
|00000100| 00 00 06 00 00 00 00 00 | aa 00 00 00 00 00 00 00 |........|........|
|00000110| aa 00 00 00 00 03 c1 00 | 14 05 7e 00 ff 00 00 00 |........|..~.....|
|00000120| 00 00 00 0f a8 00 00 00 | 00 4e 1d 00 00 00 09 00 |........|.N......|
|00000130| 00 00 04 00 04 ff fc ff | fa 00 04 00 04 ff fc ff |........|........|
|00000140| fc 00 00 00 00 00 00 00 | 00 83 00 0b 40 14 6b 53 |........|....@.kS|
|00000150| 63 72 65 65 6e 4f 6e 65 | 4c 69 6e 65 2f 31 39 39 |creenOne|Line/199|
|00000160| 39 37 00 06 47 65 6e 65 | 76 61 00 00 4c a5 41 70 |97..Gene|va..L.Ap|
|00000170| 70 57 61 6e 6e 61 62 65 | 20 28 57 69 6e 64 6f 77 |pWannabe| (Window|
|00000180| 2e 63 29 2e 20 20 43 61 | 6c 6c 65 64 20 62 79 20 |.c). Ca|lled by |
|00000190| 66 72 61 6d 65 77 6f 72 | 6b 20 73 6f 20 61 70 70 |framewor|k so app|
|000001a0| 20 63 61 6e 20 64 6f 20 | 6d 6f 72 65 20 77 69 6e | can do |more win|
|000001b0| 64 6f 77 20 69 6e 69 74 | 2e 00 00 00 06 00 00 00 |dow init|........|
|000001c0| 00 00 44 00 00 00 00 00 | 00 00 44 00 00 00 00 02 |..D.....|..D.....|
|000001d0| 6b 04 40 02 6c 01 00 00 | 00 00 00 00 01 0f f1 00 |k.@.l...|........|
|000001e0| 00 00 00 00 00 00 00 00 | 0c 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 06 00 00 00 00 00 6b 00 | 00 00 00 00 00 00 6b 00 |......k.|......k.|
|00000220| 00 00 00 02 6b 02 28 03 | c1 00 ff 00 00 00 00 00 |....k.(.|........|
|00000230| 00 0f a8 00 00 00 00 4e | 16 00 00 00 09 00 00 00 |.......N|........|
|00000240| 04 00 04 ff fc ff fa 00 | 04 00 04 ff fc ff fc 00 |........|........|
|00000250| 00 00 00 00 00 00 00 83 | 00 0b 40 0b 6c 69 6e 6b |........|..@.link|
|00000260| 73 2f 31 39 39 39 30 00 | 06 4d 6f 6e 61 63 6f 00 |s/19990.|.Monaco.|
|00000270| 00 00 00 16 00 01 00 00 | 00 00 00 10 00 0c 00 01 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 06 00 00 00 00 |........|........|
|00000290| 04 72 00 00 00 00 00 00 | 04 72 00 00 00 00 00 00 |.r......|.r......|
|000002a0| 75 30 02 6b 01 ff 00 00 | 00 00 00 00 0f a8 00 00 |u0.k....|........|
|000002b0| 00 00 4e 1f 00 00 00 09 | 00 00 00 04 00 04 ff fc |..N.....|........|
|000002c0| ff fa 00 04 00 04 ff fc | ff fc 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 83 00 0b 40 0a 62 | 6f 64 79 2f 31 39 39 39 |.....@.b|ody/1999|
|000002e0| 39 00 06 4d 6f 6e 61 63 | 6f 00 04 08 4f 53 45 72 |9..Monac|o...OSEr|
|000002f0| 72 20 49 6e 69 74 43 6f | 6e 74 65 6e 74 28 46 69 |r InitCo|ntent(Fi|
|00000300| 6c 65 52 65 63 48 6e 64 | 6c 20 66 72 48 6e 64 6c |leRecHnd|l frHndl|
|00000310| 2c 20 57 69 6e 64 6f 77 | 50 74 72 20 77 69 6e 64 |, Window|Ptr wind|
|00000320| 6f 77 29 3b 0d 0d 20 20 | 20 20 46 69 6c 65 3a 20 |ow);.. | File: |
|00000330| 41 70 70 57 61 6e 6e 61 | 62 65 2e 68 0d 0d 49 4e |AppWanna|be.h..IN|
|00000340| 50 55 54 3a 20 20 66 72 | 48 6e 64 6c 20 20 20 20 |PUT: fr|Hndl |
|00000350| 20 20 44 6f 63 75 6d 65 | 6e 74 20 74 6f 20 69 6e | Docume|nt to in|
|00000360| 69 74 69 61 6c 69 7a 65 | 20 77 69 6e 64 6f 77 20 |itialize| window |
|00000370| 63 6f 6e 74 65 6e 74 20 | 66 6f 72 2e 0d 20 20 20 |content |for.. |
|00000380| 20 20 20 20 20 77 69 6e | 64 6f 77 20 20 20 20 20 | win|dow |
|00000390| 20 57 69 6e 64 6f 77 20 | 74 6f 20 69 6e 69 74 69 | Window |to initi|
|000003a0| 61 6c 69 7a 65 20 77 69 | 6e 64 6f 77 20 63 6f 6e |alize wi|ndow con|
|000003b0| 74 65 6e 74 20 66 6f 72 | 2e 0d 0d 54 68 65 72 65 |tent for|...There|
|000003c0| 20 6d 61 79 20 62 65 20 | 61 64 64 69 74 69 6f 6e | may be |addition|
|000003d0| 61 6c 20 63 6f 6e 74 65 | 6e 74 20 69 6e 69 74 69 |al conte|nt initi|
|000003e0| 61 6c 69 7a 61 74 69 6f | 6e 20 66 6f 72 20 74 68 |alizatio|n for th|
|000003f0| 65 20 77 69 6e 64 6f 77 | 2e 20 20 41 74 20 74 68 |e window|. At th|
|00000400| 69 73 20 70 6f 69 6e 74 | 2c 0d 79 6f 75 20 68 61 |is point|,.you ha|
|00000410| 76 65 20 61 20 77 69 6e | 64 6f 77 2c 20 62 75 74 |ve a win|dow, but|
|00000420| 20 69 74 20 69 73 20 63 | 75 72 72 65 6e 74 6c 79 | it is c|urrently|
|00000430| 20 69 6e 76 69 73 69 62 | 6c 65 2e 20 20 49 66 20 | invisib|le. If |
|00000440| 79 6f 75 20 72 65 74 75 | 72 6e 20 6e 6f 45 72 72 |you retu|rn noErr|
|00000450| 2c 20 74 68 65 6e 0d 74 | 68 65 20 77 69 6e 64 6f |, then.t|he windo|
|00000460| 77 20 77 69 6c 6c 20 62 | 65 20 73 65 74 20 74 6f |w will b|e set to|
|00000470| 20 74 68 65 20 73 74 61 | 74 65 20 69 6e 64 69 63 | the sta|te indic|
|00000480| 61 74 65 64 20 66 6f 72 | 20 74 68 61 74 20 77 69 |ated for| that wi|
|00000490| 6e 64 6f 77 2e 20 20 57 | 68 79 20 74 68 69 73 20 |ndow. W|hy this |
|000004a0| 66 75 6e 63 74 69 6f 6e | 3f 0d 59 6f 75 20 6d 61 |function|?.You ma|
|000004b0| 79 20 77 69 73 68 20 74 | 6f 20 61 64 64 20 63 6f |y wish t|o add co|
|000004c0| 6e 74 72 6f 6c 73 20 74 | 6f 20 74 68 65 20 63 6f |ntrols t|o the co|
|000004d0| 6e 74 65 6e 74 20 6f 66 | 20 74 68 65 20 77 69 6e |ntent of| the win|
|000004e0| 64 6f 77 2e 20 20 59 6f | 75 20 6d 61 79 20 68 61 |dow. Yo|u may ha|
|000004f0| 76 65 20 61 0d 54 65 78 | 74 45 64 69 74 20 72 65 |ve a.Tex|tEdit re|
|00000500| 63 6f 72 64 20 69 6e 20 | 74 68 65 20 63 6f 6e 74 |cord in |the cont|
|00000510| 65 6e 74 2e 20 20 41 6c | 6c 20 6f 66 20 74 68 65 |ent. Al|l of the|
|00000520| 73 65 20 73 6f 72 74 20 | 6f 66 20 74 68 69 6e 67 |se sort |of thing|
|00000530| 73 20 63 61 6e 27 74 20 | 62 65 20 63 72 65 61 74 |s can't |be creat|
|00000540| 65 64 0d 75 6e 74 69 6c | 20 74 68 65 72 65 20 69 |ed.until| there i|
|00000550| 73 20 61 20 77 69 6e 64 | 6f 77 20 74 6f 20 63 6f |s a wind|ow to co|
|00000560| 6e 74 61 69 6e 20 74 68 | 65 6d 2e 20 20 46 69 72 |ntain th|em. Fir|
|00000570| 73 74 20 61 20 64 6f 63 | 75 6d 65 6e 74 20 69 73 |st a doc|ument is|
|00000580| 20 72 65 61 64 20 69 6e | 2c 20 61 6e 64 20 74 68 | read in|, and th|
|00000590| 65 6e 0d 69 66 20 74 68 | 65 20 64 6f 63 75 6d 65 |en.if th|e docume|
|000005a0| 6e 74 20 63 72 65 61 74 | 69 6f 6e 20 73 75 63 63 |nt creat|ion succ|
|000005b0| 65 65 64 73 2c 20 61 20 | 77 69 6e 64 6f 77 20 69 |eeds, a |window i|
|000005c0| 73 20 63 72 65 61 74 65 | 64 20 66 6f 72 20 74 68 |s create|d for th|
|000005d0| 61 74 20 64 6f 63 75 6d | 65 6e 74 2e 0d 41 74 20 |at docum|ent..At |
|000005e0| 74 68 69 73 20 70 6f 69 | 6e 74 20 77 65 20 68 61 |this poi|nt we ha|
|000005f0| 76 65 20 61 20 64 6f 63 | 75 6d 65 6e 74 2c 20 61 |ve a doc|ument, a|
|00000600| 6e 64 20 77 65 20 61 72 | 65 20 6f 6e 20 6f 75 72 |nd we ar|e on our|
|00000610| 20 77 61 79 20 74 6f 20 | 68 61 76 69 6e 67 20 61 | way to |having a|
|00000620| 20 77 69 6e 64 6f 77 2e | 0d 41 6c 6c 20 74 68 61 | window.|.All tha|
|00000630| 74 20 72 65 6d 61 69 6e | 73 20 69 73 20 61 6e 79 |t remain|s is any|
|00000640| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 63 6f 6e 74 | additio|nal cont|
|00000650| 65 6e 74 20 69 6e 69 74 | 69 61 6c 69 7a 61 74 69 |ent init|ializati|
|00000660| 6f 6e 2e 20 20 44 6f 20 | 69 74 2c 20 72 65 74 75 |on. Do |it, retu|
|00000670| 72 6e 0d 6e 6f 45 72 72 | 2c 20 61 6e 64 20 65 76 |rn.noErr|, and ev|
|00000680| 65 72 79 62 6f 64 79 27 | 73 20 68 61 70 70 79 2e |erybody'|s happy.|
|00000690| 20 20 49 66 20 73 6f 6d | 65 74 68 69 6e 67 20 67 | If som|ething g|
|000006a0| 6f 65 73 20 77 72 6f 6e | 67 20 68 65 72 65 2c 20 |oes wron|g here, |
|000006b0| 72 65 74 75 72 6e 20 74 | 68 65 20 65 72 72 6f 72 |return t|he error|
|000006c0| 2c 0d 61 6e 64 20 74 68 | 65 20 69 6e 63 6f 6d 70 |,.and th|e incomp|
|000006d0| 6c 65 74 65 20 77 69 6e | 64 6f 77 20 77 69 6c 6c |lete win|dow will|
|000006e0| 20 62 65 20 64 69 73 70 | 6f 73 65 64 20 6f 66 2e | be disp|osed of.|
|000006f0| 20 0d 0d 0d 00 16 00 01 | 00 00 00 00 00 0b 00 09 | .......|........|
|00000700| 00 04 00 00 00 09 00 00 | 00 00 00 00 |........|.... |
+--------+-------------------------+-------------------------+--------+--------+